package com.example.servicea.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.example.servicea.entity.RolePermissionEntity;

import java.util.List;

/**
 * @Author hutu.
 * @Date: 2017/10/26 10:19
 */
public interface RolePermissionService {

    boolean insert(RolePermissionEntity rolePermission);

    List<RolePermissionEntity> selectList(RolePermissionEntity rolePermission);

    Page selectPage(RolePermissionEntity rolePermission, String page, String limit);

    int selectCount(RolePermissionEntity rolePermission);

	RolePermissionEntity selectOne(RolePermissionEntity rolePermission);

	RolePermissionEntity selectById(String id);

    boolean updateById(RolePermissionEntity rolePermission);

    boolean deleteById(String id);

    boolean deleteBatchIds(String ids);

}